def input_password():
    password = input("请输入密码：")

    if len(password) > 8:
        return password
    else:
        raise Exception("密码长度不够")


if __name__ == '__main__':
    password = input_password()
    print(password)
